//
//  YJBaseViewController.h
//  SnackCourier
//
//  Created by qianfeng01 on 15/7/17.
//  Copyright (c) 2015年 qianfeng01. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AFNetworking.h"
#import "UMSocial.h"

@interface YJBaseViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,UMSocialUIDelegate>


@property (nonatomic) UITableView *tableView;
@property (nonatomic) NSMutableArray *dataArr;
@property (nonatomic) AFHTTPRequestOperationManager *manager;

@property (nonatomic)BOOL isRefreshing;
@property (nonatomic)BOOL isLoadMore;
@property (nonatomic)NSInteger currentPage;

-(void)createTableView:(NSString *)cellName;
-(void)createHttpRequest;

-(void)refreshData:(NSString *)urlStr;
-(void)endRefreshing;

-(void)createNavigationItem;
@end
